import java.util.Scanner;

public class A002 {
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		
		while(sc.hasNext()) {
			String input = sc.nextLine();
			String[] spInput = input.split(" ");
			int a = Integer.parseInt(spInput[0]);
			int b = Integer.parseInt(spInput[1]);
			
			int sum =  ( a + b );
			
			String output = Integer.toString(sum);
			
			System.out.println(output);
		} // hasNext
	} // main
}